<?php
/**
 * Created by PhpStorm.
 * User: Qch
 * Date: 2016/10/9
 * Time: 16:32
 */

namespace J\Storage;


use J\IPersister;

/**
 * 组合器充当持久化
 */
abstract class Combine implements IPersister
{
    /**
     * @var IPersister
     */
    protected $persister;

    public function getExpire($key)
    {
        return $this->persister->getExpire($key);
    }

    public function add($value)
    {
        return $this->persister->add($value);
    }
}